home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17542 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  756 b 

  1. Path: grimsel.zurich.ibm.com!usenet
  2. From: Keith Whittingham <wgk@zurich.ibm.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Template implementation - code size efficiency..
  5. Date: Tue, 16 Apr 1996 14:58:18 -0700
  6. Organization: IBM Zurich Research Laboratory
  7. Message-ID: <317417FA.5607@zurich.ibm.com>
  8. NNTP-Posting-Host: pine.zurich.ibm.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.01 (Win16; I)
  13.  
  14. Is there a rule of thumb regarding the code size overhead 
  15. for the use of a given template... Does
  16.  
  17.    Array<unsigned int> aui;
  18.    Array<signed int> asi;
  19.  
  20. produce twice as much executable code as...
  21.  
  22.    Array<signed int> asi;
  23.  
  24. Can the compiler optimise...
  25.  
  26. -- 
  27. Keith Whittingham
  28. wgk@zurich.ibm.com
  29.